Versions:

  • 0.0.7

realtime-tex by Henry Yang, with the command name rtex, is a typesetting engine for editors that re-typesets only the LaTeX paragraph currently being edited. While text is typed, the paragraph in question is processed by a LuaLaTeX process that has already loaded the preamble of the document, and the new lines are handed to the editor for drawing. A full compile in the background handles everything that is global in nature: page breaks, floats, the table of contents, references and bibliographies. The output is exactly what LuaLaTeX produces, with the same line breaks and the same glyphs at the same positions to 1/65536 pt, because rtex uses an unmodified LuaTeX from TeX Live, and exported PDFs are identical to those of a normal LuaLaTeX build. The time from keystroke to updated paragraph is about a millisecond and does not depend on the length of the document. The archive contains the rtex command, the C library with its header, and the rtex TeX support files. The software belongs to the category of typesetting and developer tools. Typical use cases are live preview in LaTeX editors and integration of real-time typesetting into custom editing software. The current release is version 0.0.7.

Tags: